package com.itheima;

import org.junit.jupiter.api.Test;

/**
 * @Author lvFF
 * @Date 2022/04/27/下午 2:30;
 * Description
 */
public class Text01 {
    @Test
    public void Spirt(){
        String fileName = "345seretxcv.jpg";
        String substring = fileName.substring(fileName.lastIndexOf("."));
        System.out.println(substring);
    }
}
